﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace Zatify.WebUI.Models
{
    public class FAQSupportViewModel
    {
        [Required]
        public string Name { get; set; }
        
        [Required]
        [DataType(DataType.EmailAddress)]
        [RegularExpression(@"[\w\.-]*[A-z0-9_]@[\w\.-]*[A-z0-9]\.[A-z][A-z\.]*[A-z]", ErrorMessage = "Email is not valid")]
        public string Email { get; set; }
        
        
        public string CompanyName { get; set; }
        
        
        public string PhoneNo { get; set; }

        [Required]
        public string Subject { get; set; }

        [Required]
        public string Message { get; set; }
    }
}